package loginPRO;

import java.io.IOException;

import javax.servlet.jsp.JspWriter;

public class LoginPRO2 {

	
	public static void formularzLogowania(JspWriter out, String target1, String target2) throws IOException {
		
		out.println("" +
				"<br><br><br><br><table align=center width=400 height=200 id=panelek>" +
				"<tr><td valign=middle align=center>" +
				"<table width=40><tr><td>" +
				"<FORM ACTION="+target1+" METHOD=post id=form>Login:" +
				"<td><input type=text name=loginF></input>" +
				"<tr><td>Haslo:" +
				"<td><input type=password name=passwordF></input>" +
				"<tr><td><input type =submit value=Zaloguj></input>" +
				"</form></table>" +
				"<br><font size=3><a href="+target2+">Zarejestruj sie</a></table>");
	}
	
}
